<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addStudent.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <form id="ff" method="post" action="doAddStudent.jsp">
<table cellpadding="5">
<tr><td>姓名:</td><td><input   type='text' name='sname' id='sname' value='' /></td></tr>
<tr><td>性别:</td><td><input   type="radio" name='sex'  value='男' />男<input   type="radio" name='sex' value='女' />女</td></tr>
<tr><td>手机号:</td><td><input   type='text' name='telephone' id='telephone' value='' /></td></tr>
<tr><td>qq号:</td><td><input   type='text' name='qq' id='qq' value='' /></td></tr>
<tr><td>微信号:</td><td><input   type='text' name='wechat' id='wechat' value='' /></td></tr>
<tr><td>年级编号:</td><td><input   type='text' name='gradeid' id='gradeid' value='' /></td></tr>
<tr><td>入学日期:</td><td><input   type='text' name='enterdate' id='enterdate' value='' /></td></tr>
<tr><td>城市:</td><td><input   type='text' name='fromcity' id='fromcity' value='' /></td></tr>
<tr><td>出生日期:</td><td><input   type='text' name='birthday' id='birthday' value='' /></td></tr>
<tr><td>地址:</td><td><input   type='text' name='address' id='address' value='' /></td></tr>
<tr><td>密码:</td><td><input   type="password" name='pass' id='pass' value='' /></td></tr>
<tr><td>最后的考试时间:</td><td><input   type="text" name='last_exam' id='last_exam' value='' /></td></tr>
</table>
<p><input type="submit"></p>
</form>
  </body>
</html>
